import request from '/@/utils/request';

export function platformApi() {
  return {
    dataList : (params : object) =>{
      return request({
				url: '/requests/platform/data',
				method: 'post',
				data: params,
			});
    },
    delete : (params : object) =>{
      return request({
        url:'/requests/platform/delete',
        method:'post',
        data:params
      })
    },
    save : (params) => {
      return request({
        url:'/requests/platform/save',
        method:'post',
        data:params
      })
    }

  }
}